<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="css/style.css">
<script type="text/javascript" src="js/linkage.js"></script>
<script type="text/javascript" src="js/jquery-3.1.1.min.js"></script>
<script type="text/javascript" src="js/jquery.dataTable.min.js"></script>
<script type="text/javascript" src="js/bootstrap/bootstrap.min.js"></script>
<script type="text/javascript" src="js/underscore-min.js"></script>
<script type="text/javascript" src="js/controllers/positionCtrl.js"></script>
<script type="text/javascript" src="js/controllers/indexCtrl.js"></script>
</head>
<div class="lg_list_01"
	style="margin: 10px auto; width: 92%; height: 378px; overflow-y: auto; overflow-x: hidden;">
	<div style="width: 100%; height: 50px;">
		<label style="line-height: 40px; color: #333; font-size: 16px;">交易记录：</label>
		<button type="button" class="commonLink"
			style="float: right; width: 50px; height: 25px; margin-top: 12px;"
			onclick="refresh()">刷新</button>
	</div>
	<table class="historyTable">
		<thead>
			<tr>
				<td>流水号</td>
				<td>数量</td>
				<td>状态</td>
				<td>账户</td>
				<td>价格</td>
				<td>状态</td>
				<td>证券号</td>
				<td>证券名称</td>
				<td>操作时间</td>
			</tr>
		</thead>
		<tbody id="posDisplayData">

		</tbody>

	</table>
	<div id="posNoData"></div>
	<div>
		共<span id="posTotal"></span>页
		<button id="posPrePageBtn" class="commonLink" type="button"
			onclick="prePage()" style="margin: 0 5px 0 10px; padding: 0 5px;">上一页</button>
		<span>当前页：</span><span id="posCurrentPage"></span>
		<button id="posNextPageBtn" class="commonLink" type="button"
			onclick="nextPage()  " style="margin: 0 5px 0 5px; padding: 0 5px;">下一页</button>
	</div>
</div>
<script>
	queryHistory();
	function refresh() {
		queryHistory();
	}
</script>
</html>